<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>9</title>
    <script src="./vue.global.js"></script>
</head>
<body>
<div id="vueApp"></div>
<script>
    window.app = Vue.createApp({
        data() {
            return { message:"<my-title v-bind:age='age'/>", age: 10};
        },
        template:"<my-title v-bind:age='age'/>",
    });
    app.component('my-title', {
        props: ["age"],
        template: `<i>技术胖</i>age:{{age}}`
    });
    window.vm = app.mount("#vueApp");
</script>
</body>
</html>